<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<title>index</title>
</head>
<body>
<script>
function getScript(src){
	var script = document.createElement("script");
	script.src=src;
	document.body.appendChild(script);
}
getScript("1.js");
//getScript("2.js");
document.write('<script src="2.js"><\/script>');
</script>
</body>
</html>